package com.miniapp.mapper;

import com.miniapp.entity.BusinessFile;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;

/**
 * <p>
 * 业务文件关联表 Mapper 接口
 * </p>
 *
 * @author yourName
 * @since 2025-09-05
 */
public interface BusinessFileMapper extends BaseMapper<BusinessFile> {

    /**
     * 根据业务编码和业务类型查询关联的文件列表
     * @param businessCode 业务编码
     * @param businessType 业务类型
     * @return 业务文件列表(包含基础文件信息)
     */
    List<BusinessFile> selectByBusiness(String businessCode, String businessType);
}
